home *** CD-ROM | disk | FTP | other *** search
/ Aminet 24 / Aminet 24 (1998)(GTI - Schatztruhe)[!][Apr 1998].iso / Aminet / docs / misc / CLS.txt < prev    next >
Text File  |  1998-02-10  |  3KB  |  59 lines

  1. SHORT: Great Zarquon! Go ditch those Cls cmds!!! (Doh!)
  2. AUTHOR: ZarniWoop <nv95duos@kagg.gy-edu.kalmar.se>
  3. UPLOADER: <nv95duos@kagg.gy-edu.kalmar.se>
  4. TYPE: docs/misc
  5.  
  6. Hey Yeah! (Zaphodish voice) What's with these freakin' cls cmd's?!  ANSIX3.64
  7.  
  8. What's the matter with everyone? In the past few  months there's been
  9. over four (4!) different 'Clear Screen' commands uploaded to the Aminet!
  10. Why use a separate command that uses up diskspace, takes too many millisecs
  11. to actually load and obviously is a total waste of your life using at all?! :/
  12.  
  13. So, here it is, in a dead simple and foolproof (Yeah!) way - How to clear
  14. your damn console window without downloading no pesky 'Cls' command at all!
  15.  
  16. 1. Make sure your OS is a bit up to date. (Go freak out if your 1.1 won't do it)
  17.  
  18. 2. Try to locate your keyboard - it'll be a bit of a waste learning the
  19.    secrets of AmigaOS without the ability to use such a thing as a keyboard.
  20.  
  21. 3. Figure out how to open up a Console window:
  22.    Try to doubleclick the 'Shell' icon or press the hotkey combo ramiga+e
  23.     and enter the word 'cli' in the resulting prompt.
  24.  
  25. 4. Make a huge effort in typing the word 'clear' in the very same console window
  26.    (Shell, CLI whatever) and then gently persuade the 'return' key to establish
  27.    a sligtly recessed position in a not very dignified manner at all.
  28.  
  29. 5. Watch in astonishment as the console window instantly refreshes itself and actually
  30.    gets rather neatly cleaned up. How's that for the rest of our planet?
  31.  
  32. 6. Go ahead and alter your shell-startup if you really must have that 'clear'
  33.    alias named 'cls' instead. (Doh)
  34.  
  35. 7. If all above fails then feel extraordinary lucky not to be totally humiliated
  36.    by me and this textfile. Instead, go ahead and add the following wellknown alias
  37.    to your shell-startup:
  38.  
  39.     Alias Cls "Echo *"*E[0;0H*E[J" "        (Useless info: The *E substitutes the Esc char )
  40.  
  41. ======================================================================================
  42. To simply clear and reset everything try typing the following escape sequence into a
  43. console window just to see how amazingly cool I am (Got a piece of meat to store inside me?):
  44.  
  45.     echo "*Ec"
  46.  
  47. ======================================================================================
  48.  
  49. And if you, by some strange coincident, happen to have an alias to _close_ the console
  50. then please note that the default hotkey really is 'ctrl+\'  =)
  51.  
  52. ======================================================================================
  53.  
  54. Thanks for your time then and do notify me if there's a 'dir' command that is as pretty
  55. as the AFS-replacement _and_ works with 'style' ie doesn't set the bgcolour to grey.
  56. ________________________________________________________________________________
  57. nv95duos@kagg.gy-edu.kalmar.se - ZarniWoop as in 'Go see Zarniwoop' alt. Zarquon
  58. ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
  59. And don't bother flaming me for this one - I'll probably die of laughter :P